package cn.itlaobing.integrate.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.itlaobing.integrate.dao.UserMapper;
import cn.itlaobing.integrate.entity.User;
import cn.itlaobing.integrate.service.UserServicr;
@Service()
public class UserServiceImpl implements UserServicr {
   @Autowired
	UserMapper userMapper;
	@Override
	public User getUserById(int userId) {
		
		return this.userMapper.selectByPrimaryKey(userId);
	}
    
}
